package e

const (
	SUCCESS        = 200
	ERROR          = 500
	INVALID_PARAMS = 400
	UNAUTHORIZED   = 401

	ERROR_EDIT_USER_FAIL              = 10101
	ERROR_NOT_EXIST_USER              = 10102
	ERROR_GET_USER_FAIL               = 10103
	ERROR_GET_ALL_USER_FAIL           = 10104
	ERROR_CLEAN_SOFT_DELETE_USER_FAIL = 10105
	ERROR_ADD_USER_FAIL               = 10106
	ERROR_DELETE_USER_FAIL            = 10107
	ERROR_CHECK_EXIST_USER_FAIL       = 10108
	ERROR_COUNT_USER_FAIL             = 10109
	ERROR_CHECK_PASSWORD_FAIL         = 10110
	ERROR_USER_NAME_OR_PASSWORD       = 10111
	ERROR_EXIST_USER_NAME             = 10112
	ERROR_RESET_PASSWORD_FAIL         = 10113
	ERROR_PASSWORD_SIZE               = 10114

	ERROR_NOT_EXIST_API        = 10202
	ERROR_GET_API_FAIL         = 10203
	ERROR_GET_ALL_API_FAIL     = 10204
	ERROR_CHECK_EXIST_API_FAIL = 10208
	ERROR_COUNT_API_FAIL       = 10209

	ERROR_REPEAT_LUCKY        = 10310
	ERROR_DAY_NOT_LUCKY_COUNT = 10311

	ERROR_CHECK_TOKEN_FAIL  = 10401
	ERROR_TOKEN_TIMEOUT     = 10402
	ERROR_TOKEN             = 10403
	ERROR_CREATE_TOKEN_FAIL = 10404
	ERROR_PARSE_TOKEN_FAIL  = 10405

	ERROR_UPLOAD_SAVE_IMAGE_FAIL    = 10501
	ERROR_UPLOAD_CHECK_IMAGE_FAIL   = 10502
	ERROR_UPLOAD_CHECK_IMAGE_FORMAT = 10503

	ERROR_GET_CAPTCHA_FAIL = 10601
	ERROR_CAPTCHA          = 10602

	ERROR_GET_ROLE_FAIL = 10701

	ERROR_CREATE_VERIFY_CODE_FAIL = 10801
	ERROR_VERIFY_CODE             = 10802
	ERROR_VERIFY_CODE_TIMEOUT     = 10803
	ERROR_CHECK_VERIFY_CODE_FAIL  = 10804

	ERROR_EDIT_PRODUCT_FAIL              = 10901
	ERROR_NOT_EXIST_PRODUCT              = 10902
	ERROR_GET_PRODUCT_FAIL               = 10903
	ERROR_GET_ALL_PRODUCT_FAIL           = 10904
	ERROR_CLEAN_SOFT_DELETE_PRODUCT_FAIL = 10905
	ERROR_ADD_PRODUCT_FAIL               = 10906
	ERROR_DELETE_PRODUCT_FAIL            = 10907
	ERROR_CHECK_EXIST_PRODUCT_FAIL       = 10908
	ERROR_COUNT_PRODUCT_FAIL             = 10909

	ERROR_EDIT_CATEGORY_FAIL              = 11001
	ERROR_NOT_EXIST_CATEGORY              = 11002
	ERROR_GET_CATEGORY_FAIL               = 11003
	ERROR_GET_ALL_CATEGORY_FAIL           = 11004
	ERROR_CLEAN_SOFT_DELETE_CATEGORY_FAIL = 11005
	ERROR_ADD_CATEGORY_FAIL               = 11006
	ERROR_DELETE_CATEGORY_FAIL            = 11007
	ERROR_CHECK_EXIST_CATEGORY_FAIL       = 11008
	ERROR_COUNT_CATEGORY_FAIL             = 11009

	ERROR_EDIT_AD_FAIL              = 11101
	ERROR_NOT_EXIST_AD              = 11102
	ERROR_GET_AD_FAIL               = 11103
	ERROR_GET_ALL_AD_FAIL           = 11104
	ERROR_CLEAN_SOFT_DELETE_AD_FAIL = 11105
	ERROR_ADD_AD_FAIL               = 11106
	ERROR_DELETE_AD_FAIL            = 11107
	ERROR_CHECK_EXIST_AD_FAIL       = 11108
	ERROR_COUNT_AD_FAIL             = 11109

	ERROR_EDIT_BRAND_FAIL              = 11201
	ERROR_NOT_EXIST_BRAND              = 11202
	ERROR_GET_BRAND_FAIL               = 11203
	ERROR_GET_ALL_BRAND_FAIL           = 11204
	ERROR_CLEAN_SOFT_DELETE_BRAND_FAIL = 11205
	ERROR_ADD_BRAND_FAIL               = 11206
	ERROR_DELETE_BRAND_FAIL            = 11207
	ERROR_CHECK_EXIST_BRAND_FAIL       = 11208
	ERROR_COUNT_BRAND_FAIL             = 11209

	ERROR_EDIT_INDEX_BANNER_FAIL              = 11301
	ERROR_NOT_EXIST_INDEX_BANNER              = 11302
	ERROR_GET_INDEX_BANNER_FAIL               = 11303
	ERROR_GET_ALL_INDEX_BANNER_FAIL           = 11304
	ERROR_CLEAN_SOFT_DELETE_INDEX_BANNER_FAIL = 11305
	ERROR_ADD_INDEX_BANNER_FAIL               = 11306
	ERROR_DELETE_INDEX_BANNER_FAIL            = 11307
	ERROR_CHECK_EXIST_INDEX_BANNER_FAIL       = 11308
	ERROR_COUNT_INDEX_BANNER_FAIL             = 11309

	ERROR_EDIT_HOT_SEARCH_FAIL              = 11401
	ERROR_NOT_EXIST_HOT_SEARCH              = 11402
	ERROR_GET_HOT_SEARCH_FAIL               = 11403
	ERROR_GET_ALL_HOT_SEARCH_FAIL           = 11404
	ERROR_CLEAN_SOFT_DELETE_HOT_SEARCH_FAIL = 11405
	ERROR_ADD_HOT_SEARCH_FAIL               = 11406
	ERROR_DELETE_HOT_SEARCH_FAIL            = 11407
	ERROR_CHECK_EXIST_HOT_SEARCH_FAIL       = 11408
	ERROR_COUNT_HOT_SEARCH_FAIL             = 11409

	ERROR_EDIT_ORDER_INFO_FAIL              = 11501
	ERROR_NOT_EXIST_ORDER_INFO              = 11502
	ERROR_GET_ORDER_INFO_FAIL               = 11503
	ERROR_GET_ALL_ORDER_INFO_FAIL           = 11504
	ERROR_CLEAN_SOFT_DELETE_ORDER_INFO_FAIL = 11505
	ERROR_ADD_ORDER_INFO_FAIL               = 11506
	ERROR_DELETE_ORDER_INFO_FAIL            = 11507
	ERROR_CHECK_EXIST_ORDER_INFO_FAIL       = 11508
	ERROR_COUNT_ORDER_INFO_FAIL             = 11509

	ERROR_EDIT_ORDER_PRODUCT_FAIL              = 11601
	ERROR_NOT_EXIST_ORDER_PRODUCT              = 11602
	ERROR_GET_ORDER_PRODUCT_FAIL               = 11603
	ERROR_GET_ALL_ORDER_PRODUCT_FAIL           = 11604
	ERROR_CLEAN_SOFT_DELETE_ORDER_PRODUCT_FAIL = 11605
	ERROR_ADD_ORDER_PRODUCT_FAIL               = 11606
	ERROR_DELETE_ORDER_PRODUCT_FAIL            = 11607
	ERROR_CHECK_EXIST_ORDER_PRODUCT_FAIL       = 11608
	ERROR_COUNT_ORDER_PRODUCT_FAIL             = 11609

	ERROR_EDIT_ADDRESS_FAIL              = 11701
	ERROR_NOT_EXIST_ADDRESS              = 11702
	ERROR_GET_ADDRESS_FAIL               = 11703
	ERROR_GET_ALL_ADDRESS_FAIL           = 11704
	ERROR_CLEAN_SOFT_DELETE_ADDRESS_FAIL = 11705
	ERROR_ADD_ADDRESS_FAIL               = 11706
	ERROR_DELETE_ADDRESS_FAIL            = 11707
	ERROR_CHECK_EXIST_ADDRESS_FAIL       = 11708
	ERROR_COUNT_ADDRESS_FAIL             = 11709

	ERROR_EDIT_COLLECT_FAIL              = 11801
	ERROR_NOT_EXIST_COLLECT              = 11802
	ERROR_GET_COLLECT_FAIL               = 11803
	ERROR_GET_ALL_COLLECT_FAIL           = 11804
	ERROR_CLEAN_SOFT_DELETE_COLLECT_FAIL = 11805
	ERROR_ADD_COLLECT_FAIL               = 11806
	ERROR_DELETE_COLLECT_FAIL            = 11807
	ERROR_CHECK_EXIST_COLLECT_FAIL       = 11808
	ERROR_COUNT_COLLECT_FAIL             = 11809

	ERROR_EDIT_LEAVING_MESSAGE_FAIL              = 11901
	ERROR_NOT_EXIST_LEAVING_MESSAGE              = 11902
	ERROR_GET_LEAVING_MESSAGE_FAIL               = 11903
	ERROR_GET_ALL_LEAVING_MESSAGE_FAIL           = 11904
	ERROR_CLEAN_SOFT_DELETE_LEAVING_MESSAGE_FAIL = 11905
	ERROR_ADD_LEAVING_MESSAGE_FAIL               = 11906
	ERROR_DELETE_LEAVING_MESSAGE_FAIL            = 11907
	ERROR_CHECK_EXIST_LEAVING_MESSAGE_FAIL       = 11908
	ERROR_COUNT_LEAVING_MESSAGE_FAIL             = 11909

	ERROR_EDIT_SHOPPING_CART_FAIL              = 12001
	ERROR_NOT_EXIST_SHOPPING_CART              = 12002
	ERROR_GET_SHOPPING_CART_FAIL               = 12003
	ERROR_GET_ALL_SHOPPING_CART_FAIL           = 12004
	ERROR_CLEAN_SOFT_DELETE_SHOPPING_CART_FAIL = 12005
	ERROR_ADD_SHOPPING_CART_FAIL               = 12006
	ERROR_DELETE_SHOPPING_CART_FAIL            = 12007
	ERROR_CHECK_EXIST_SHOPPING_CART_FAIL       = 12008
	ERROR_COUNT_SHOPPING_CART_FAIL             = 12009
)
